package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务系统对应人员信息对象 bu_sys_person
 * 
 * @author ess
 * @date 2021-10-18
 */
public class BuSysPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String buPerId;

    /** 本系统人员id */
    @Excel(name = "本系统人员id")
    private String personId;

    /** 业务系统id */
    @Excel(name = "业务系统id")
    private String sysId;

    /** 业务系统人员id */
    @Excel(name = "业务系统人员id")
    private String buSysPerId;

    /** 0有效 1失效 */
    @Excel(name = "0 有效 1失效")
    private Integer state;

    //业务系统名称
    private String sysName;

    //本系统人员名称  姓名-生日后四位
    private String  sysPersonName;

    public void setBuPerId(String buPerId) 
    {
        this.buPerId = buPerId;
    }

    public String getBuPerId() 
    {
        return buPerId;
    }
    public void setPersonId(String personId) 
    {
        this.personId = personId;
    }

    public String getPersonId() 
    {
        return personId;
    }
    public void setSysId(String sysId) 
    {
        this.sysId = sysId;
    }

    public String getSysId() 
    {
        return sysId;
    }
    public void setBuSysPerId(String buSysPerId) 
    {
        this.buSysPerId = buSysPerId;
    }

    public String getBuSysPerId() 
    {
        return buSysPerId;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }


    public String getSysPersonName() {
        return sysPersonName;
    }

    public void setSysPersonName(String sysPersonName) {
        this.sysPersonName = sysPersonName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("buPerId", getBuPerId())
            .append("personId", getPersonId())
            .append("sysId", getSysId())
            .append("buSysPerId", getBuSysPerId())
            .append("state", getState())
            .toString();
    }
}
